﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Edit_Employee.ascx.cs" Inherits="Control_Employees_Edit_Employee" %>

<%--<script runat="server">
    protected void Calendar1_SelectionChanged(object sender, System.EventArgs e)
    {
        tbxStartDate.Text = Calendar1.SelectedDate.ToShortDateString();
    }
</script>--%>
<style type="text/css">
   
    .style2
    {
        height: 23px;
    }
    .style3
    {
        text-align: center;
    }
    .style4
    {
        width: 185px;
    }
    .style5
    {
        height: 23px;
        width: 185px;
    }
</style>
<table align="center" width="748px" style="height: 650px">
    <tr>
        <td colspan="2" 
            style="text-align: left; font-family: CAMbria; font-size: 36px; color: #000000;">
            <asp:Label ID="Label9" runat="server" Text="EDIT EMPLOYEE" Font-Bold="True" 
                        Font-Size="30px" Font-Names="Cambria"></asp:Label>
                </td>
    </tr>
    <tr>
        <td colspan="2" style="text-align: center">
            <asp:Label ID="lblMessage" runat="server" style="text-align: left" 
                Font-Size="17px" Font-Bold="True" Font-Italic="True"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;</td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="tbxFirstName" ErrorMessage="Please input first name!" 
                SetFocusOnError="True" Font-Size="17px" Font-Bold="True" 
                Font-Italic="True"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label1" runat="server" Text="First Name:" Font-Size="17px" 
                Font-Bold="True"></asp:Label>
        </td>
        <td style="font-family:Times New Roman;">
            <asp:TextBox ID="tbxFirstName" runat="server" Width="480px" Font-Size="17px" 
                Height="30px" Font-Bold="True"></asp:TextBox>
            &nbsp;
            <br />
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label2" runat="server" Text="Last Name:" Font-Size="17px" 
                Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxLastName" runat="server" Width="480px" Font-Size="17px" 
                Height="30px" Font-Bold="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label3" runat="server" Text="Address:" Font-Size="17px" 
                Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxAddress" runat="server" Width="480px" Font-Size="17px" 
                Height="30px" Font-Bold="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label4" runat="server" Text="Phone:" Font-Size="17px" 
                Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxPhone" runat="server" Width="480px" Font-Size="17px" 
                Height="30px" Font-Bold="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label5" runat="server" Text="Start Date:" Font-Size="17px" 
                Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxStartDate" runat="server" Width="480px" ReadOnly="True" 
                Font-Size="17px" Height="30px" Font-Bold="True"></asp:TextBox>
            
            &nbsp;
            
            </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label6" runat="server" Text="License:" Font-Size="17px" 
                Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxLicense" runat="server" Width="480px" Font-Size="17px" 
                Height="30px" Font-Bold="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label7" runat="server" Text="Position:" Font-Size="17px" 
                Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxPosition" runat="server" Width="480px" Font-Size="17px" 
                Height="30px" Font-Bold="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style5">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label11" runat="server" Font-Size="17px" Text="Commission:" 
                Font-Bold="True"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="tbxCommission" runat="server" Width="480px" Font-Size="17px" 
                Height="30px" Font-Bold="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style3" colspan="2">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3" colspan="2">
            <asp:Button ID="SaveBtn" runat="server" onclick="SaveBtn_Click" Text="SAVE" 
                Font-Bold="True" Font-Size="17px" Font-Names="Cambria" />
&nbsp;<asp:Button ID="ResetBtn" runat="server" onclick="ResetBtn_Click" Text="RESET" 
                Font-Bold="True" Font-Size="17px" Font-Names="Cambria" />
        </td>
    </tr>
    </table>
